package atm.service;

import atm.pojo.UserDO;

public interface UserService {
    UserDO getBYUsernameAndPwd(String username, String pwd);

    void saveMoney(int id, double blance);

    void drawMoney(int id, double blance) throws Exception;

    void change(int id, String oldpwd, String newpwd) throws Exception;

    void transform(int id, String name, double money) throws Exception;
}


